<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <title>首页</title>

    <!-- 1. 导入CSS的全局样式 -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <!-- 2. jQuery导入，建议使用1.9以上的版本 -->
    <script src="js/jquery-2.1.0.min.js"></script>
    <!-- 3. 导入bootstrap的js文件 -->
    <script src="js/bootstrap.min.js"></script>
    <script type="text/javascript">
    </script>
    <style>
        body {
            margin: 0;
            padding: 0;
            background-color: #f5f5f5;
        }

        .page-container {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            height: 100vh;
            padding: 20px;

            color: #333;
            font-family: Arial, sans-serif;
            box-sizing: border-box;
        }

        #administrator {
            font-size: 40px;
            margin-bottom: 20px;
            font-weight: bold;
        }

        .menu-item {
            width: 350px;
            display: block;
            margin: 25px 0;
            padding: 10px 20px;
            font-size: 25px;
            text-decoration: none;
            text-align: center;
            border: 2px solid #333;
            border-radius: 5px;
            transition: background-color 0.3s ease, color 0.3s ease;
            color: #333;
        }

        .menu-item:hover {
            background-color: #333;
            color: #fff;
        }
    </style>
</head>
<body>

<div class="page-container">
        <h1 id="administrator">
            ${admin.username}, 欢迎您！
        </h1>

    <br><br>

    <a class="menu-item" href="${pageContext.request.contextPath}/admin/findUsersByPage">用户信息管理</a>

    <a class="menu-item" href="${pageContext.request.contextPath}/admin/pageQuery">文章管理</a>

    <a class="menu-item" href="${pageContext.request.contextPath}/adminManage.jsp">修改信息</a>

    <a class="menu-item" href="${pageContext.request.contextPath}/index.html">返回首页</a>
</div>
</body>
</html>